<!DOCTYPE html>
<html>
<head>
    <title>System Dialogs Example 3</title>
</head>
<body>
    <script type="text/javascript">

        var result = prompt("What is your name? ", "");
        if (result !== null) {
         alert("Welcome, " + result);
        }

    </script>
</body>
</html>
